package com.eshop.modules.order.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.order.service.dto.YxStoreOrderCartInfoDto;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.order.service.dto.StoreOrderCartInfoQueryCriteria;
import com.eshop.modules.cart.vo.StoreCartQueryVo;
import java.util.List;
import com.eshop.modules.order.domain.StoreOrderCartInfo;
import com.eshop.common.service.BaseService;

public interface StoreOrderCartInfoService extends BaseService<StoreOrderCartInfo>
{
    void saveCartInfo(final Long oid, final List<StoreCartQueryVo> cartInfo);
    
    StoreOrderCartInfo findByUni(final String unique);
    
    Map<String, Object> queryAll(final StoreOrderCartInfoQueryCriteria criteria, final Pageable pageable);
    
    List<StoreOrderCartInfo> queryAll(final StoreOrderCartInfoQueryCriteria criteria);
    
    void download(final List<YxStoreOrderCartInfoDto> all, final HttpServletResponse response) throws IOException;
}
